package vip.xls8z.reflect.learning.pojo;

public class User extends Person {

    public User() {
        super();
    }

    public User(String username, String age) {
        this.username = username;
        this.age = age;
    }

    private String username;

    protected String age;

    public String address;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", tech='" + tech + '\'' +
                ", username='" + username + '\'' +
                ", age='" + age + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
